package widget.dining.manager
{
	import flash.display.Bitmap;

	public class BitmapEmbedManager{
		private static var instance:BitmapEmbedManager = null;
		
		[Embed(source="assets/image/dining/diningHall_bg.jpg")]
		private var DiningHallBG:Class;
		
		private var _dinnerBG:Bitmap = null;
		public function BitmapEmbedManager()
		{
			if(instance)
			{
				throw new Error("single class by BitmapEmbedManager")
			}
			this.init();
		}
		
		public static function getInstance():BitmapEmbedManager
		{
			if(!instance)
			{
				instance = new BitmapEmbedManager();
			}
			return instance;
		}
		
		private function init():void
		{
			_dinnerBG = new DiningHallBG();
		}
		
		public function get dinnerBG():Bitmap
		{
			return _dinnerBG;
		}
	}
}